package club.kingyin.easycache.component;


import java.util.concurrent.TimeUnit;

public interface Timer {

    long millis();

    long getTime();

    TimeUnit getTimeUnit();

    void setTimeUnit(TimeUnit timeUnit);

    void setTime(long time);
}
